import junit.framework.TestCase;

public class KonwerterTest_JUnit3 extends TestCase {

	int number;
	Konwerter konwerter;

	protected void setUp() throws Exception 
	{
		number=(int)((Math.random()+0.001)*100);
		konwerter = new Konwerter(number);
	}

	public void testKonwertuj()
	{
		int i;
		for(i=2;i<=16;i++)
		{
			assertEquals(konwerter.konwertuj(i),Integer.toString(number, i));
		}
		assertTrue(2<3);
		assertFalse(2>3);
		assertNull(null);
		assertNotNull(konwerter);
	}
}